Integrand size = 14, antiderivative size = 114 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=a^2 x-\frac {5 b^2 x}{16}-\frac {2 a b \cosh (c+d x)}{d}+\frac {2 a b \cosh ^3(c+d x)}{3 d}+\frac {5 b^2 \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac {5 b^2 \cosh (c+d x) \sinh ^3(c+d x)}{24 d}+\frac {b^2 \cosh (c+d x) \sinh ^5(c+d x)}{6 d} \]
a^2*x-5/16*b^2*x-2*a*b*cosh(d*x+c)/d+2/3*a*b*cosh(d*x+c)^3/d+5/16*b^2*cosh (d*x+c)*sinh(d*x+c)/d-5/24*b^2*cosh(d*x+c)*sinh(d*x+c)^3/d+1/6*b^2*cosh(d* x+c)*sinh(d*x+c)^5/d
Time = 0.24 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.82 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=\frac {192 a^2 c-60 b^2 c+192 a^2 d x-60 b^2 d x-288 a b \cosh (c+d x)+32 a b \cosh (3 (c+d x))+45 b^2 \sinh (2 (c+d x))-9 b^2 \sinh (4 (c+d x))+b^2 \sinh (6 (c+d x))}{192 d} \]
(192*a^2*c - 60*b^2*c + 192*a^2*d*x - 60*b^2*d*x - 288*a*b*Cosh[c + d*x] + 32*a*b*Cosh[3*(c + d*x)] + 45*b^2*Sinh[2*(c + d*x)] - 9*b^2*Sinh[4*(c + d *x)] + b^2*Sinh[6*(c + d*x)])/(192*d)
Time = 0.31 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {3042, 3692, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \left (a+i b \sin (i c+i d x)^3\right )^2dx\) |
\(\Big \downarrow \) 3692 |
\(\displaystyle \int \left (a^2+2 a b \sinh ^3(c+d x)+b^2 \sinh ^6(c+d x)\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle a^2 x+\frac {2 a b \cosh ^3(c+d x)}{3 d}-\frac {2 a b \cosh (c+d x)}{d}+\frac {b^2 \sinh ^5(c+d x) \cosh (c+d x)}{6 d}-\frac {5 b^2 \sinh ^3(c+d x) \cosh (c+d x)}{24 d}+\frac {5 b^2 \sinh (c+d x) \cosh (c+d x)}{16 d}-\frac {5 b^2 x}{16}\) |
a^2*x - (5*b^2*x)/16 - (2*a*b*Cosh[c + d*x])/d + (2*a*b*Cosh[c + d*x]^3)/( 3*d) + (5*b^2*Cosh[c + d*x]*Sinh[c + d*x])/(16*d) - (5*b^2*Cosh[c + d*x]*S inh[c + d*x]^3)/(24*d) + (b^2*Cosh[c + d*x]*Sinh[c + d*x]^5)/(6*d)
3.2.53.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*((c_.)*sin[(e_.) + (f_.)*(x_)])^(n_))^(p_), x_Symbol] :> Int[ExpandTrig[(a + b*(c*sin[e + f*x])^n)^p, x], x] /; FreeQ[{a, b, c, e, f , n}, x] && (IGtQ[p, 0] || (EqQ[p, -1] && IntegerQ[n]))
Time = 0.53 (sec) , antiderivative size = 83, normalized size of antiderivative = 0.73
method | result | size |
parts | \(a^{2} x +\frac {b^{2} \left (\left (\frac {\sinh \left (d x +c \right )^{5}}{6}-\frac {5 \sinh \left (d x +c \right )^{3}}{24}+\frac {5 \sinh \left (d x +c \right )}{16}\right ) \cosh \left (d x +c \right )-\frac {5 d x}{16}-\frac {5 c}{16}\right )}{d}+\frac {2 a b \left (-\frac {2}{3}+\frac {\sinh \left (d x +c \right )^{2}}{3}\right ) \cosh \left (d x +c \right )}{d}\) | \(83\) |
derivativedivides | \(\frac {b^{2} \left (\left (\frac {\sinh \left (d x +c \right )^{5}}{6}-\frac {5 \sinh \left (d x +c \right )^{3}}{24}+\frac {5 \sinh \left (d x +c \right )}{16}\right ) \cosh \left (d x +c \right )-\frac {5 d x}{16}-\frac {5 c}{16}\right )+2 a b \left (-\frac {2}{3}+\frac {\sinh \left (d x +c \right )^{2}}{3}\right ) \cosh \left (d x +c \right )+a^{2} \left (d x +c \right )}{d}\) | \(85\) |
default | \(\frac {b^{2} \left (\left (\frac {\sinh \left (d x +c \right )^{5}}{6}-\frac {5 \sinh \left (d x +c \right )^{3}}{24}+\frac {5 \sinh \left (d x +c \right )}{16}\right ) \cosh \left (d x +c \right )-\frac {5 d x}{16}-\frac {5 c}{16}\right )+2 a b \left (-\frac {2}{3}+\frac {\sinh \left (d x +c \right )^{2}}{3}\right ) \cosh \left (d x +c \right )+a^{2} \left (d x +c \right )}{d}\) | \(85\) |
parallelrisch | \(\frac {192 a^{2} d x -60 b^{2} d x +32 a b \cosh \left (3 d x +3 c \right )-288 a b \cosh \left (d x +c \right )+b^{2} \sinh \left (6 d x +6 c \right )-9 b^{2} \sinh \left (4 d x +4 c \right )+45 b^{2} \sinh \left (2 d x +2 c \right )-256 a b}{192 d}\) | \(89\) |
risch | \(a^{2} x -\frac {5 b^{2} x}{16}+\frac {b^{2} {\mathrm e}^{6 d x +6 c}}{384 d}-\frac {3 \,{\mathrm e}^{4 d x +4 c} b^{2}}{128 d}+\frac {{\mathrm e}^{3 d x +3 c} a b}{12 d}+\frac {15 \,{\mathrm e}^{2 d x +2 c} b^{2}}{128 d}-\frac {3 \,{\mathrm e}^{d x +c} a b}{4 d}-\frac {3 \,{\mathrm e}^{-d x -c} a b}{4 d}-\frac {15 \,{\mathrm e}^{-2 d x -2 c} b^{2}}{128 d}+\frac {{\mathrm e}^{-3 d x -3 c} a b}{12 d}+\frac {3 \,{\mathrm e}^{-4 d x -4 c} b^{2}}{128 d}-\frac {b^{2} {\mathrm e}^{-6 d x -6 c}}{384 d}\) | \(176\) |
a^2*x+b^2/d*((1/6*sinh(d*x+c)^5-5/24*sinh(d*x+c)^3+5/16*sinh(d*x+c))*cosh( d*x+c)-5/16*d*x-5/16*c)+2*a*b/d*(-2/3+1/3*sinh(d*x+c)^2)*cosh(d*x+c)
Time = 0.27 (sec) , antiderivative size = 160, normalized size of antiderivative = 1.40 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=\frac {3 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{5} + 16 \, a b \cosh \left (d x + c\right )^{3} + 48 \, a b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{2} + 2 \, {\left (5 \, b^{2} \cosh \left (d x + c\right )^{3} - 9 \, b^{2} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{3} + 6 \, {\left (16 \, a^{2} - 5 \, b^{2}\right )} d x - 144 \, a b \cosh \left (d x + c\right ) + 3 \, {\left (b^{2} \cosh \left (d x + c\right )^{5} - 6 \, b^{2} \cosh \left (d x + c\right )^{3} + 15 \, b^{2} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )}{96 \, d} \]
1/96*(3*b^2*cosh(d*x + c)*sinh(d*x + c)^5 + 16*a*b*cosh(d*x + c)^3 + 48*a* b*cosh(d*x + c)*sinh(d*x + c)^2 + 2*(5*b^2*cosh(d*x + c)^3 - 9*b^2*cosh(d* x + c))*sinh(d*x + c)^3 + 6*(16*a^2 - 5*b^2)*d*x - 144*a*b*cosh(d*x + c) + 3*(b^2*cosh(d*x + c)^5 - 6*b^2*cosh(d*x + c)^3 + 15*b^2*cosh(d*x + c))*si nh(d*x + c))/d
Time = 0.34 (sec) , antiderivative size = 212, normalized size of antiderivative = 1.86 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=\begin {cases} a^{2} x + \frac {2 a b \sinh ^{2}{\left (c + d x \right )} \cosh {\left (c + d x \right )}}{d} - \frac {4 a b \cosh ^{3}{\left (c + d x \right )}}{3 d} + \frac {5 b^{2} x \sinh ^{6}{\left (c + d x \right )}}{16} - \frac {15 b^{2} x \sinh ^{4}{\left (c + d x \right )} \cosh ^{2}{\left (c + d x \right )}}{16} + \frac {15 b^{2} x \sinh ^{2}{\left (c + d x \right )} \cosh ^{4}{\left (c + d x \right )}}{16} - \frac {5 b^{2} x \cosh ^{6}{\left (c + d x \right )}}{16} + \frac {11 b^{2} \sinh ^{5}{\left (c + d x \right )} \cosh {\left (c + d x \right )}}{16 d} - \frac {5 b^{2} \sinh ^{3}{\left (c + d x \right )} \cosh ^{3}{\left (c + d x \right )}}{6 d} + \frac {5 b^{2} \sinh {\left (c + d x \right )} \cosh ^{5}{\left (c + d x \right )}}{16 d} & \text {for}\: d \neq 0 \\x \left (a + b \sinh ^{3}{\left (c \right )}\right )^{2} & \text {otherwise} \end {cases} \]
Piecewise((a**2*x + 2*a*b*sinh(c + d*x)**2*cosh(c + d*x)/d - 4*a*b*cosh(c + d*x)**3/(3*d) + 5*b**2*x*sinh(c + d*x)**6/16 - 15*b**2*x*sinh(c + d*x)** 4*cosh(c + d*x)**2/16 + 15*b**2*x*sinh(c + d*x)**2*cosh(c + d*x)**4/16 - 5 *b**2*x*cosh(c + d*x)**6/16 + 11*b**2*sinh(c + d*x)**5*cosh(c + d*x)/(16*d ) - 5*b**2*sinh(c + d*x)**3*cosh(c + d*x)**3/(6*d) + 5*b**2*sinh(c + d*x)* cosh(c + d*x)**5/(16*d), Ne(d, 0)), (x*(a + b*sinh(c)**3)**2, True))
Time = 0.21 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.32 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=a^{2} x - \frac {1}{384} \, b^{2} {\left (\frac {{\left (9 \, e^{\left (-2 \, d x - 2 \, c\right )} - 45 \, e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )} e^{\left (6 \, d x + 6 \, c\right )}}{d} + \frac {120 \, {\left (d x + c\right )}}{d} + \frac {45 \, e^{\left (-2 \, d x - 2 \, c\right )} - 9 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )}}{d}\right )} + \frac {1}{12} \, a b {\left (\frac {e^{\left (3 \, d x + 3 \, c\right )}}{d} - \frac {9 \, e^{\left (d x + c\right )}}{d} - \frac {9 \, e^{\left (-d x - c\right )}}{d} + \frac {e^{\left (-3 \, d x - 3 \, c\right )}}{d}\right )} \]
a^2*x - 1/384*b^2*((9*e^(-2*d*x - 2*c) - 45*e^(-4*d*x - 4*c) - 1)*e^(6*d*x + 6*c)/d + 120*(d*x + c)/d + (45*e^(-2*d*x - 2*c) - 9*e^(-4*d*x - 4*c) + e^(-6*d*x - 6*c))/d) + 1/12*a*b*(e^(3*d*x + 3*c)/d - 9*e^(d*x + c)/d - 9*e ^(-d*x - c)/d + e^(-3*d*x - 3*c)/d)
Time = 0.30 (sec) , antiderivative size = 178, normalized size of antiderivative = 1.56 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=\frac {1}{16} \, {\left (16 \, a^{2} - 5 \, b^{2}\right )} x + \frac {b^{2} e^{\left (6 \, d x + 6 \, c\right )}}{384 \, d} - \frac {3 \, b^{2} e^{\left (4 \, d x + 4 \, c\right )}}{128 \, d} + \frac {a b e^{\left (3 \, d x + 3 \, c\right )}}{12 \, d} + \frac {15 \, b^{2} e^{\left (2 \, d x + 2 \, c\right )}}{128 \, d} - \frac {3 \, a b e^{\left (d x + c\right )}}{4 \, d} - \frac {3 \, a b e^{\left (-d x - c\right )}}{4 \, d} - \frac {15 \, b^{2} e^{\left (-2 \, d x - 2 \, c\right )}}{128 \, d} + \frac {a b e^{\left (-3 \, d x - 3 \, c\right )}}{12 \, d} + \frac {3 \, b^{2} e^{\left (-4 \, d x - 4 \, c\right )}}{128 \, d} - \frac {b^{2} e^{\left (-6 \, d x - 6 \, c\right )}}{384 \, d} \]
1/16*(16*a^2 - 5*b^2)*x + 1/384*b^2*e^(6*d*x + 6*c)/d - 3/128*b^2*e^(4*d*x + 4*c)/d + 1/12*a*b*e^(3*d*x + 3*c)/d + 15/128*b^2*e^(2*d*x + 2*c)/d - 3/ 4*a*b*e^(d*x + c)/d - 3/4*a*b*e^(-d*x - c)/d - 15/128*b^2*e^(-2*d*x - 2*c) /d + 1/12*a*b*e^(-3*d*x - 3*c)/d + 3/128*b^2*e^(-4*d*x - 4*c)/d - 1/384*b^ 2*e^(-6*d*x - 6*c)/d
Time = 0.47 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.75 \[ \int \left (a+b \sinh ^3(c+d x)\right )^2 \, dx=\frac {\frac {45\,b^2\,\mathrm {sinh}\left (2\,c+2\,d\,x\right )}{4}-\frac {9\,b^2\,\mathrm {sinh}\left (4\,c+4\,d\,x\right )}{4}+\frac {b^2\,\mathrm {sinh}\left (6\,c+6\,d\,x\right )}{4}-72\,a\,b\,\mathrm {cosh}\left (c+d\,x\right )+8\,a\,b\,\mathrm {cosh}\left (3\,c+3\,d\,x\right )+48\,a^2\,d\,x-15\,b^2\,d\,x}{48\,d} \]